Provides an IEnumerator<(Of <(T>)>) for items in the collection.
Namespace:
System.Collections.Concurrent
Assembly:
System.Threading (in System.Threading.dll)
Syntax
Visual Basic (Declaration) |
---|
Private Function GetEnumerator As IEnumerator(Of T)
Implements IEnumerable(Of T).GetEnumerator |
C# |
---|
IEnumerator<T> IEnumerable<T>.GetEnumerator() |
Return Value
An
IEnumerator<(Of <(T>)>) for the items in the collection.
Implements
IEnumerable<(Of <(T>)>)..::.GetEnumerator()()()Exceptions
Exception | Condition |
---|
System..::.ObjectDisposedException | The BlockingCollection<(Of <(T>)>) has been disposed. |
See Also